/*
    15. Write a program in C to remove a file from the disk. 
    Test Data :
    Input the name of file to delete : test.txt
    Expected Output :

    The file test.txt is deleted successfully..!!
*/

#include <stdio.h>

int main(void)
{
    char filename[64];
    printf("Input the name of file to delete : ");
    gets(filename);
    if(0 == remove(filename)){
        printf("The file %s is deleted successfully..!!\n", filename);
    }else{
        printf("The file %s is deleted failed..!!\n", filename);
    }

    return 0;
}